package com.joysuch.wwyt.bp.bean.tagert;

import com.joysuch.wwyt.core.bean.BaseAttachmentBean;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;

import java.time.LocalDate;
import java.util.List;

/**
 * @Author ZhangDong
 * @Date 2020/8/5 14:18
 */
@Data
public class BpTargetDutyDto extends BpTargetDto {

    @ApiModelProperty("id")
    private Long id;
    @ApiModelProperty("标题")
    private String title;
    @ApiModelProperty("责任对象")
    private List<String> dutyObject;
    @ApiModelProperty("考核总分")
    private String totalScore;
    @ApiModelProperty("最终得分")
    private String totalScores;
    @ApiModelProperty("循环制定 0 循环; 1 单次")
    private Byte repeatOrSingle;
    @ApiModelProperty("附件")
    private BaseAttachmentBean attachment;
    @ApiModelProperty("备注")
    private String remark;
    @ApiModelProperty("指标级别 0 公司级; 1 部门分厂级; 2 工段班组级")
    private Byte normLevel;
    @ApiModelProperty("周期类型 0 年度目标; 1 季度目标; 2 月度目标")
    private Byte periodType;
    @ApiModelProperty("完成期限")
    private String finishLimit;
    @ApiModelProperty("制定人员")
    private Long markUserId;
    @ApiModelProperty("制定人员名称")
    private String markUserName;
    @ApiModelProperty("制定人部门")
    private Long markDepartId;
    @ApiModelProperty("制定人部门名称")
    private String markDepartName;
    @ApiModelProperty("制定日期")
    private LocalDate markDate;
    @ApiModelProperty("目标指标集合")
    private List<BpTargetNormBean> targetNormList;
}
